package com.spring.util;

public class CustomerContextHolder {
	public static final String DATA_SOURCE = "dataSource";
    
    public static final String DATA_SOURCE_SGML = "gameDataSource";
    
//    public static final String DATA_SOURCE_GAME_CLUB = "dataSource_game_club";

    private static final ThreadLocal<String> contextHolder = new ThreadLocal<String>();

    public static void setCustomerType(String customerType) {
        contextHolder.set(customerType);  
    }  
      
    public static String getCustomerType() {
        return contextHolder.get();  
    }  
      
    public static void clearCustomerType() {
        contextHolder.remove();  
    }  
}
